﻿using System.ComponentModel;
using System.Diagnostics.Contracts;
using Library.Collections.Specialized;

namespace Library.Collections.Generic
{
    [ImmutableObject(true)]
    public interface IDequeReadOnly<TElement> : IContainer, ICountable, IEnumerableDirection
    {
        [Pure]
        bool Peek(Position position, out TElement item);
    }
}
